package com.beyond.market.record.service;

import com.beyond.market.record.domain.Record;

import java.sql.SQLException;
import java.util.List;

public interface RecordService {
    List<Record> listByUserId(Integer id) throws SQLException;
    int save(Record record) throws SQLException;
    public Record getRecordByPrimaryKey(Integer id) throws SQLException;
    public int remove(Integer id) throws SQLException;
}
